package com.swak.loadbalance;

import java.util.concurrent.atomic.AtomicInteger;

public class Client implements WeightAble {

	public AtomicInteger count = new AtomicInteger();
	public int weight;

	public Client(int weight) {
		this.weight = weight;
	}

	public void doSometing() {
		count.getAndIncrement();
	}

	@Override
	public int getWeight() {
		return weight;
	}
}
